<?php get_backend_header(array(
        'jquery/jqgrid/src/grid.loader.js',
    	'jquery/jqgrid/src/i18n/grid.locale-en.js',
	'jquery/jqgrid/js/jquery.jqGrid.min.js',
	'jquery/validate/jquery.validate.js',
	'group.js',
),array(
        'jquery/ui.jqgrid.css',
)); ?>



<div class="line">
	<h2 class="unit title">Group Maintenance</h2>
	<div class="unitExt" style="margin-top: 25px;">

            <a href="<?php echo site_url('group/add'); ?>" id="add" name="add">Add Group</a>
  
		
	</div>
</div>

<?php get_message();?>

<div class="line" style="margin-bottom: 20px">
        <label for="" class="">Group name:</label>
        <input type="text" name="group_name" id="group_name"/>

        
        <br />
        <br />
        <button id="search" name="search"> Search </button>
</div>


    <table id="groupGrid" class="scroll"></table>
    <div id="pagination" class="scroll"></div>



<script type="text/javascript">
    groupGrid();
    $('#add').button({
        icons: {primary: 'ui-icon-plus'}
    });
    
    $('#search').button({
            icons: {primary: 'ui-icon-search'}
    }).click(function(e) {
            $(this).removeClass('ui-state-focus');
            filterItems();
            e.preventDefault();
    });


</script>


<?php get_backend_footer();

/* End of file list.php */
/* Location: ./application/views/cms/list.php */

